home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
600 Games
/
600games.iso
/
Nave
/
spaceambush.swf
/
scripts
/
frame_286
/
PlaceObject2_663_120
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2007-03-12
|
386 b
|
23 lines
onClipEvent(enterFrame){
if(_alpha < 1)
{
timer = 0;
rv = random(40);
removeMovieClip(this);
}
if(String(_name) != "kartus")
{
timer++;
if(timer < rv)
{
_rotation = _rotation + 6;
_X = _X + xmove;
_Y = _Y + ymove;
}
else
{
_alpha = _alpha - 1;
}
}
}